<!DOCTYPE html>
<html>

<head>
<meta charset="UTF-8">
<title>DEMO弹窗</title>
<meta name="Description" content="DEMO弹窗操作" />
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="../../../res/weadmin_2.26/static/css/font.css">
<link rel="stylesheet" href="../../../res/weadmin_2.26/static/css/weadmin.css">

</head>

<body>

	<div class="weadmin-body">
		添加窗口内容.
		
		
		<form id="addform" class="layui-form layui-col-md12 we-search" lay-filter="addformFilter"  >
			
			
			
			
			
			<button class="layui-btn" type="button"  lay-submit=""  lay-filter="addformFilter"   ></button>
		</form>
		
		
		
		

		<button onclick="getValueAndClose()" class="layui-btn" > 获取值并关闭窗口 </button>
	</div>
</body>

<script type="text/javascript" src="//cdn.staticfile.org/js-cookie/2.2.0/js.cookie.js" charset="utf-8"></script>
<script type="text/javascript" src="//cdn.staticfile.org/jquery/1.12.4/jquery.js" charset="utf-8"></script>
<!-- 
	<script type="text/javascript" src="//cdn.staticfile.org/layer/2.3/layer.js" charset="utf-8"></script>
-->
	
<!--
-->
<script type="text/javascript" src="../../../res/js/layui_jq_util.js" charset="utf-8"></script>


<script type="text/javascript" charset="utf-8">
	
	// layui工具类
	var layuiJqUtil = new LayuiJqUtil();
	// 页面请求参数
  var paramObj = layuiJqUtil.getUrlParamObj();
  // 窗口初始化对象
	var chooseWinInit = layuiJqUtil.layerChooseWinInit();
	
	chooseWinInit.parentLayer.msg("收到页面请求参数:" + JSON.stringify(paramObj));
	
	
	
	// 获取窗口值并关闭弹窗口
	function getValueAndClose(){
		var dataVal = {
			paramA:"valueA",
			paramB:123,
			paramC:"valueC"
		};
		layuiJqUtil.layerChooseWinRtdataAndClose(dataVal,chooseWinInit);
	}
	

</script>

</html>